<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 * @version    $Id: Edit.php 2011-03-09 08:45:41Z idris $
 * @author     Idris
 */

/**
 * @category   Application_Extensions
 * @package    Vote
 * @copyright  Copyright KEENONWEB LLC
 * @license    http://www.keenonweb.com/
 */

class Vote_Form_Edit extends Vote_Form_Create {
	public function init() {
		parent::init ();
		
		$this->setTitle ( 'VOTING_EDIT_TITLE' )->setDescription ( 'VOTING_EDIT_DESC' )->setMethod ( 'post' )->setAttrib ( 'class', 'global_form create_voting_form' );
		
		$this->submit->setLabel ( 'Save Changes' );
	}
}